package com.cyzy;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//@ComponentScan(basePackages = "com.cyzy.starterconfig")  // 指定扫描到配置类
//@EnableDiscoveryClient
//@EnableFeignClients     // 让OpenFeign有效（开启Feign）
public class UserApp
{
    public static void main( String[] args )
    {
       ConfigurableApplicationContext context =  SpringApplication.run(UserApp.class, args);

        System.out.println(context.getEnvironment().getProperty("mybatis-plus.mapper-locations"));
    }
}
